/*
 * Created on 05/05/2005
 *
 */
package tests.model.more;

import org.apache.commons.lang.builder.ToStringBuilder;

/**
 * @author Bajales Raul
 *
 */
public class Car {

    protected String colour;
    protected String tiresColour;
    
    /**
     * Constructor
     */
    public Car() {
        super();
    }

    /**
     * @param colour
     * @param tiresColour
     */
    public Car(String colour, String tiresColour) {
        super();
        this.colour = colour;
        this.tiresColour = tiresColour;
    }
    /**
     * @return Returns the colour.
     */
    public String getColour() {
        return colour;
    }
    
    /**
     * @param colour The colour to set.
     */
    public void setColour(String colour) {
        this.colour = colour;
    }
    
    /**
     * @return Returns the tiresColour.
     */
    public String getTiresColour() {
        return tiresColour;
    }
    
    /**
     * @param tiresColour The tiresColour to set.
     */
    public void setTiresColour(String tiresColour) {
        this.tiresColour = tiresColour;
    }

    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
